Programming Layout by Manipulation
نویسنده
چکیده
Programming Layout by Manipulation by Thibaud Baptiste Hottelier Doctor of Philosophy in Computer Science University of California, Berkeley Professor Rastislav Bodík, Chair Creating layouts for documents, GUIs, or data visualizations is a time-consuming and errorprone process. Non-programmers would like the customization and fine-grained control currently only possible with handwritten layout engines. Today, such engines are written by proficient programmers. This thesis introduces new techniques for specifying layout and generating efficient layout engines. First, we present a new programming methodology which addresses the two central sources of bugs in layouts: ambiguities and conflicts. Then, we introduce a language of constraints in which we capture layout specifications formally. Finally, we show how to generate efficient layout engines automatically. We provide the following individual contributions: 1. The Programming by Manipulation (PBM) paradigm targeted at non-programmers to establish specifications in visual domains such as layout. We introduce a new type of user demonstration—manipulation—which is resistant to users’ imprecisions inherent in drawing. Instead of sketching the desired layout, users steer the exploration of potential layouts by pointing out what they would like to change. 2. L3, a declarative language for layout specifications. L3 is based on non-directional constraints in which the flow of computation is completely abstracted away. 3. A synthesis procedure—grammar modular synthesis—capable of generating layout engines from L3 specifications. Our new algorithm scales to realistic layout specifications and produces generic engines supporting languages of documents. To evaluate our work, we present two user studies showing not only that non-programmers can design interesting visualizations using PBM, but also that proficient programmers are more productive with PBM than with conventional constraint programming. We also compare the performance of our synthetized engines with state-of-the-art constraint solvers and show that our engines are up to two orders of magnitude faster.
منابع مشابه
Mathematical Programming Models for Solving Unequal-Sized Facilities Layout Problems - a Generic Search Method
This paper present unequal-sized facilities layout solutions generated by a genetic search program named LADEGA (Layout Design using a Genetic Algorithm). The generalized quadratic assignment problem requiring pre-determined distance and material flow matrices as the input data and the continuous plane model employing a dynamic distance measure and a material flow matrix are discussed. Computa...
متن کاملSCWM: An Intelligent Constraint-Enabled Window Manager
Typical window management systems rely on direct manipulation techniques to organize and layout windows. Direct manipulation encourages the user to specify particular locations rather than higher-level intentions and desires regarding window layout. Our Scheme Constraints Window Manager (SCWM) allows users to express their intentions using both direct manipulation and higher-level commands. Bec...
متن کاملIntegrative Cell Formation and Layout Design in Cellular Manufacturing Systems
This paper proposes a new integrative view of manufacturing cell formation and both inter-cell and intra-cell layout problems. Cells formation and their popular bi-directional linear layout are determined simultaneously through a Dynamic Programming algorithm (with the objective of minimizing the inter-cell flow cost under a cell size constraint). This Dynamic Programming algorithm is implement...
متن کاملAn Immersive Programming System: Ougi
The Ougi immersive programming system employs abstract data visualization and manipulations utilizing virtual reality technologies. Its multimodal interfaces allow one to edit a program, to control its execution and to debug the program by direct manipulation and hand gestures in an immersive virtual environment. Ougi uses both textual and graphical representations and supports a subset of the ...
متن کاملSketching Slides: interactive creation and automatic solution of constrained document layout problems
The efficiency of desktop publishing is severely limited by the lack of sophisticated automatic document layout systems. State-of-the-art algorithms either require the input to be written in a description language such as HTML and LATEX, or to be a manually designed layout template. However, description languages are ill-suited to express layout problems with weak semantics and layout templates...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2014